package cn.ezios.huo.system.dao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 系统角色菜单
 * @TableName sys_role_menu
 */
@TableName(value ="sys_role_menu")
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class SysRoleMenu implements Serializable {

    public SysRoleMenu(String roleId, String menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }

    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 角色id
     */
    private String roleId;

    /**
     * 菜单id
     */
    private String menuId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}